import request from '@/router/axios';

export const getPage = (current, size, params) => {
  return request({
    url: '/api/audit/region-data/page',
    method: 'get',
    timeout: 60000,
    params: {
      ...params,
      current,
      size,
    }
  })
}

export const getAttackAttackedPage = (current, size, params) => {
  return request({
    url: '/api/audit/region-data/attack-attacked-page',
    method: 'get',
    timeout: 120000,
    params: {
      ...params,
      current,
      size,
    }
  })
}